package com.itheima.reflect.myreflect5;

public class Student {
    private void show() {
        System.out.println("私有的show方法,无参无返回值");
    }

    public void function1() {
        System.out.println("function1方法,无参无返回值");
    }

    public void function2(String name) {
        System.out.println("function2方法,有参无返回值,参数为" + name);
    }

    public String function3() {
        System.out.println("function3 方法,无参有返回值");
        return "aaa";
    }

    public String function4(String name) {
        System.out.println("function4方法,有参有返回值,参数为" + name);
        return "aaa";
    }
}
